import distribute_setup
distribute_setup.use_setuptools()

from setuptools import setup, Extension
from version import version


classifiers = ['Development Status :: 3 - Alpha',
               'Operating System :: POSIX :: Linux',
               'License :: OSI Approved :: GPL v3 License',
               'Intended Audience :: Developers',
               'Programming Language :: Python :: 2.6',
               'Programming Language :: Python :: 2.7',
               'Programming Language :: Python :: 3',
               'Topic :: Software Development',
               'Topic :: Home Automation',
               'Topic :: System :: Hardware']

setup(name             = 'RPi.POKEYS56U',
      version          = version,
      author           = 'Florent CARLIER',
      author_email     = 'florent.carlier@gmail.com',
      description      = 'A class to control Raspberry Pi with a USB expander port (PoKeys56U)',
      long_description = open('README.txt').read() + open('CHANGELOG.txt').read(),
      license          = 'GPLv3',
      keywords         = 'Raspberry Pi USB PoKeys56U',
      url              = 'http://code.google.com/p/raspberry-pokeys56U-python/',
      classifiers      = classifiers,
      ext_modules      = [Extension('RPi.POKEYS56U', ['source/pyPokeys56U.py'])])
